package pogeact;

public class Book {
//    Book[] SD=new Book[1000];
    private String name;
    private String author;
    private double price;
    private String type;
    private boolean isBorrowed;
    public Book(String a,String b,double c,String d){
        this.author=b;
        this.name=a;
        this.price=c;
        this.type=d;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public boolean isBorrowed() {
        return isBorrowed;
    }

    public void setBorrowed(boolean borrowed) {
        isBorrowed = borrowed;
    }
}
